package org.zhuyx.ch02.shili.dao.impl;

import org.springframework.stereotype.Component;
import org.zhuyx.ch02.shili.dao.PetDao;
import org.zhuyx.ch02.shili.entity.Pet;

/**
 * @author 茜茜
 * @date 2024-12-05 11:27
 */
@Component("petDaoOracle")
public class PetDaoOracleImpl implements PetDao {
    @Override
    public int insert(Pet pet) {
        System.out.println("将宠物"+pet.getName()+"插入到Mysql数据库");
        return 1;
    }
}
